package com.google.shop.product.vo.product.itemvo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.shop.product.entity.product.ProductSpuSpecs;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
//import org.apache.commons.configuration.tree.DefaultExpressionEngine;

/* loaded from: app.jar:BOOT-INF/classes/com/google/shop/product/vo/product/itemvo/ItemVO.class */
public class ItemVO {
    @JsonProperty("sku")
    SpuVO spuVO;
    @JsonProperty("goods")
    Map<String, String> spuDefaultImage;
    @JsonProperty("productSpu")
    ItemHomePageSpuVO itemHomePageSpuVO;
    Object[] spuSwipeImages;
    @JsonProperty("productSpuDetailImages")
    List<SpuDetailImageVO> spuDetailImageList;
    @JsonProperty("prodtctSpuSpecs")
    List<ProductSpuSpecs> spuSpecsList;
    @JsonProperty("initialSku")
    DefaultSkuVO defaultSkuVO;

    @JsonProperty("sku")
    public void setSpuVO(SpuVO spuVO) {
        this.spuVO = spuVO;
    }

    @JsonProperty("goods")
    public void setSpuDefaultImage(Map<String, String> spuDefaultImage) {
        this.spuDefaultImage = spuDefaultImage;
    }

    @JsonProperty("productSpu")
    public void setItemHomePageSpuVO(ItemHomePageSpuVO itemHomePageSpuVO) {
        this.itemHomePageSpuVO = itemHomePageSpuVO;
    }

    public void setSpuSwipeImages(Object[] spuSwipeImages) {
        this.spuSwipeImages = spuSwipeImages;
    }

    @JsonProperty("productSpuDetailImages")
    public void setSpuDetailImageList(List<SpuDetailImageVO> spuDetailImageList) {
        this.spuDetailImageList = spuDetailImageList;
    }

    @JsonProperty("prodtctSpuSpecs")
    public void setSpuSpecsList(List<ProductSpuSpecs> spuSpecsList) {
        this.spuSpecsList = spuSpecsList;
    }

    @JsonProperty("initialSku")
    public void setDefaultSkuVO(DefaultSkuVO defaultSkuVO) {
        this.defaultSkuVO = defaultSkuVO;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ItemVO)) {
            return false;
        }
        ItemVO other = (ItemVO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$spuVO = getSpuVO();
        Object other$spuVO = other.getSpuVO();
        if (this$spuVO == null) {
            if (other$spuVO != null) {
                return false;
            }
        } else if (!this$spuVO.equals(other$spuVO)) {
            return false;
        }
        Object this$spuDefaultImage = getSpuDefaultImage();
        Object other$spuDefaultImage = other.getSpuDefaultImage();
        if (this$spuDefaultImage == null) {
            if (other$spuDefaultImage != null) {
                return false;
            }
        } else if (!this$spuDefaultImage.equals(other$spuDefaultImage)) {
            return false;
        }
        Object this$itemHomePageSpuVO = getItemHomePageSpuVO();
        Object other$itemHomePageSpuVO = other.getItemHomePageSpuVO();
        if (this$itemHomePageSpuVO == null) {
            if (other$itemHomePageSpuVO != null) {
                return false;
            }
        } else if (!this$itemHomePageSpuVO.equals(other$itemHomePageSpuVO)) {
            return false;
        }
        if (!Arrays.deepEquals(getSpuSwipeImages(), other.getSpuSwipeImages())) {
            return false;
        }
        Object this$spuDetailImageList = getSpuDetailImageList();
        Object other$spuDetailImageList = other.getSpuDetailImageList();
        if (this$spuDetailImageList == null) {
            if (other$spuDetailImageList != null) {
                return false;
            }
        } else if (!this$spuDetailImageList.equals(other$spuDetailImageList)) {
            return false;
        }
        Object this$spuSpecsList = getSpuSpecsList();
        Object other$spuSpecsList = other.getSpuSpecsList();
        if (this$spuSpecsList == null) {
            if (other$spuSpecsList != null) {
                return false;
            }
        } else if (!this$spuSpecsList.equals(other$spuSpecsList)) {
            return false;
        }
        Object this$defaultSkuVO = getDefaultSkuVO();
        Object other$defaultSkuVO = other.getDefaultSkuVO();
        return this$defaultSkuVO == null ? other$defaultSkuVO == null : this$defaultSkuVO.equals(other$defaultSkuVO);
    }

    protected boolean canEqual(Object other) {
        return other instanceof ItemVO;
    }

    public int hashCode() {
        Object $spuVO = getSpuVO();
        int result = (1 * 59) + ($spuVO == null ? 43 : $spuVO.hashCode());
        Object $spuDefaultImage = getSpuDefaultImage();
        int result2 = (result * 59) + ($spuDefaultImage == null ? 43 : $spuDefaultImage.hashCode());
        Object $itemHomePageSpuVO = getItemHomePageSpuVO();
        int result3 = (((result2 * 59) + ($itemHomePageSpuVO == null ? 43 : $itemHomePageSpuVO.hashCode())) * 59) + Arrays.deepHashCode(getSpuSwipeImages());
        Object $spuDetailImageList = getSpuDetailImageList();
        int result4 = (result3 * 59) + ($spuDetailImageList == null ? 43 : $spuDetailImageList.hashCode());
        Object $spuSpecsList = getSpuSpecsList();
        int result5 = (result4 * 59) + ($spuSpecsList == null ? 43 : $spuSpecsList.hashCode());
        Object $defaultSkuVO = getDefaultSkuVO();
        return (result5 * 59) + ($defaultSkuVO == null ? 43 : $defaultSkuVO.hashCode());
    }

//    public String toString() {
//        return "ItemVO(spuVO=" + getSpuVO() + ", spuDefaultImage=" + getSpuDefaultImage() + ", itemHomePageSpuVO=" + getItemHomePageSpuVO() + ", spuSwipeImages=" + Arrays.deepToString(getSpuSwipeImages()) + ", spuDetailImageList=" + getSpuDetailImageList() + ", spuSpecsList=" + getSpuSpecsList() + ", defaultSkuVO=" + getDefaultSkuVO() + DefaultExpressionEngine.DEFAULT_INDEX_END;
//    }

    public SpuVO getSpuVO() {
        return this.spuVO;
    }

    public Map<String, String> getSpuDefaultImage() {
        return this.spuDefaultImage;
    }

    public ItemHomePageSpuVO getItemHomePageSpuVO() {
        return this.itemHomePageSpuVO;
    }

    public Object[] getSpuSwipeImages() {
        return this.spuSwipeImages;
    }

    public List<SpuDetailImageVO> getSpuDetailImageList() {
        return this.spuDetailImageList;
    }

    public List<ProductSpuSpecs> getSpuSpecsList() {
        return this.spuSpecsList;
    }

    public DefaultSkuVO getDefaultSkuVO() {
        return this.defaultSkuVO;
    }
}
